<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/html/common/public_header_main.jsp"%>
<!DOCTYPE html >
<html>
<head>
    <meta charset="utf-8"/>
    <title>CRM----登录页面</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link rel="shortcut icon" href="${ctx_static}/dep/assets/img/favicon.png" type="image/x-icon">
    <!--Basic Styles-->
    <link href="${ctx_static}/dep/assets/css/bootstrap.min.css" rel="stylesheet"/>
    <link href="${ctx_static}/dep/assets/css/font-awesome.min.css" rel="stylesheet"/>
    <!--Beyond styles-->
    <link id="beyond-link" href="${ctx_static}/dep/assets/js/beyond.min.js" rel="stylesheet" type="text/css"/>
    <link href="${ctx_static}/dep/assets/css/animate.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="${ctx_static}/home/login/css/login.css">
    <script src="${ctx_static }/dep/assets/js/skins.min.js"></script>
<title>登录</title>
</head>
<body>

<div class="login-container">
    <div class="login-header">
        <img src="${ctx_static }/home/login/image/login-header.png" alt="">
    </div>
    <div class="loginbox animated fadeInDown">
        <div class="loginbox-title">
            登录
        </div>
        <div class="loginbox-body">
            <form action="${ctx}/login/login" method="post" id="loginForm">
                <span class="errorMessage">${msg}</span>
                <div class="form-group">
                    <span class="input-icon">
                        <input type="text" value="${userName}" class="form-control" name="account" placeholder="用户名 | 手机号" autofocus>
                        <i class="user-icon"></i>
                    </span>
                </div>

                <div class="form-group">
                    <span class="input-icon">
                        <input type="password" value="${password}" class="form-control" name="password" placeholder="密码">
                        <i class="password-icon"></i>
                    </span>
                </div>
                <div class="form-group">
                    <label>
                        <input type="checkbox" name="isRemember" value="y" ${isChecked}/>
                        <span class="text">记住账号和密码</span>
                    </label>
                </div>
                <div class="form-group">
                    <button class="btn btn-darkorange form-control" type="submit">立即登录</button>
                </div>
            </form>
        </div>
        <div class="loginbox-footer text-center">
        </div>
    </div>
</div>

	<script src="${ctx_static}/dep/assets/js/jquery-2.0.3.min.js"></script>
	<script src="${ctx_static}/dep/assets/js/bootstrap.min.js"></script>
	<script src="${ctx_static}/dep/assets/js/validation/bootstrapValidator.js"></script>
	
	<script src='${ctx_static}/home/login/js/login.js'></script>

</body>
</html>